<?php
/**
 * Created by PhpStorm.
 * User: don
 * Date: 17/3/28
 * Time: 下午4:59
 */
namespace App;

class ErrorDesc{

    public $desc = [
        ErrorCode::SUCCESS => 'ok',
        ErrorCode::NOT_EMPTY_VARIABLE=>'变量不可为空',
        ErrorCode::CREATE_ERROR=>'添加失败',
        ErrorCode::UPDATE_ERROR=>'更新失败',
        ErrorCode::PARAM_NOT_EMPTY => '参数不能为空',
        ErrorCode::SING_UP_ERROR => '注册失败！',
        ErrorCode::LOGIN_ERROR=>'登录失败',
        ErrorCode::LOGIN_NOT_ERROR=>'账号或密码不能为空',
        ErrorCode::SING_UP_ERROR => '注册失败！',
        ErrorCode::PHONE_EXISTS => '当前手机号已注册！',
        ErrorCode::LOGIN_ERROR => '登陆失败！',
        ErrorCode::USERNAME_NOT_EXISTS => '账号不存在或密码错误',
        ErrorCode::CREATE_JJ_ERROR=>'简介添加失败',
        ErrorCode::OPERATION_ERROR=>'操作失败',

        ErrorCode::USER_EXIST => '用户已存在',
        ErrorCode::PWD_ERROR =>'密码错误',
        ErrorCode::PHONE_EXIST =>'手机号已存在',
        ErrorCode::PARAM_ERROR => '确实必填参数',


        ErrorCode::DOMAIN_NOT_ALLOW => '域名不允许',
        ErrorCode::UPLOAD_FILE_EMPTY => '上传文件为空',
        ErrorCode::UPLOAD_FILE_ERROR => '上传文件出错',
        ErrorCode::FILE_NOT_EXIST => '文件不存在',
        ErrorCode::FILE_NOT_ALLOW => '格式不支持',

        ErrorCode::SMS_CODE_FAILD => '短信发送失败！',
        ErrorCode::MEMBER_EXISTS => '会员已存在！',
    ];


}
